package Submarine;

import javax.swing.*;
import java.util.Random;

/** 水雷潜艇 */
public class MineSubmarine extends SeaObject implements EnemyLife{
    public MineSubmarine() {
        super(63, 19);
    }

    @Override
    public void move() {
        x += speed;
    }

    public ImageIcon getImage() { return Images.minesubm; }

    public int getLife(){return 1;}
}



















